<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!doctype html">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>新增项目库（指标）信息</title>
    
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<jsp:include page="/WEB-INF/views/common.jsp"></jsp:include>
	<script type="text/javascript" src="<%=path%>/resources/script/proms/projectindex/projectindex_add.js"></script>

  </head>
  
  <body>
	
	<div class="easyui-layout" fit="true">
   		<div region="center" border="false">
			<form id="form" method="post">
				<input id="id" name="id" type="hidden" value="${projectIndex.id }" />
				<input id="roleIdsStr" name="roleIdsStr" type="hidden" value="${projectIndex.roleIdsStr }" />
				<input id="parentIdValue" name="parentIdValue" type="hidden" value="${projectIndex.parentId }" />
				<table  class="edit-table">
					<tr>
						<th>指标名称</th>
						<td><label>${projectIndex.name }</label></td>
					</tr>
					<tr>
						<th>父级指标</th>
						<td>
							<input id="parentId" name="parentId" value="${projectIndex.parentId }" class="easyui-validatebox"  style="width: 95%;" />
							<!-- <input id="pId_clear_btn" name="pId_clear_btn" type="button" value="清空"  style="width: 15%;"/> -->
						</td>
					</tr>
					<!-- <tr>
						<th>分配角色</th>
						<td><input id="roleIds" name="roleIds" class="easyui-validatebox"  style="width: 95%;" /></td>
					</tr> -->
					<tr>
						<th>顺序：</th>
						<td><label>${projectIndex.seq }</label>
					</tr>
					<tr>
						<th>权重：</th>
						<td>
							<label>${projectIndex.weight }</label>
						</td>
					</tr>
					<tr>
						<th>资金预算：</th>
						<td><input id="planAmount" name="planAmount" value="${projectIndex.planAmount }" class="easyui-numberbox" style="width: 95%;" /></td>
					</tr>
					<tr>
						<th>计划完成时间：</th>
						<td>
							<input type="text" id="endTime" name="endTime"
							onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" value="${projectIndex.endTime }" style="width : 140px !important"
							class="Wdate easyui-validatebox" /></td>
					</tr>
					<tr>
						<th>描述：</th>
						<td><textarea id="remark" name="remark" style="width: 95%;height: 100px;">${projectIndex.remark }</textarea></td>
					</tr>
				</table> 
			</form>
   		</div>
   		<!-- <div region="south" border="false" style="text-align: right; height: 35px; line-height: 8px; padding:5px 5px 0 0;">
   			<a id="btnSave" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0);">确定</a>
   			<a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0);">取消</a>
   		</div> -->
   	</div>
	
  </body>
</html>
